package com.venus.finance.transferaccount.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

import com.venus.common.form.BaseForm;
import com.venus.common.utils.Constants;

public class TransferAccountForm extends BaseForm {

	private static final long serialVersionUID = 1L;
	private int transferAccountId;
	private int fromAccountId;
	private int toAccountId;
	private String note;
	private Float amount;
	private Float oldAmount;
    private Float handFee;
    private Float oldHandFee;
    private String transferDate;
    
    private String[] transferAccountIds;
    
    // 开始时间
	private String startDate;
	// 结束时间
	private String endDate;
	// 最小金额
	private float minAmount;
	// 最大金额
	private float maxAmount;
	
	@Override
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		this.fromAccountId = 0;
		this.toAccountId = 0;
		this.startDate = "";
		this.endDate = "";
		this.minAmount = 0f;
		this.maxAmount = 0f;
		this.curPage = 1;
		this.pageRecord = Constants.PAGEINFO_PAGERECORD;
		super.reset(mapping, request);
	}	
	public int getTransferAccountId() {
		return transferAccountId;
	}
	public void setTransferAccountId(int transferAccountId) {
		this.transferAccountId = transferAccountId;
	}
	public int getFromAccountId() {
		return fromAccountId;
	}
	public void setFromAccountId(int fromAccountId) {
		this.fromAccountId = fromAccountId;
	}
	public int getToAccountId() {
		return toAccountId;
	}
	public void setToAccountId(int toAccountId) {
		this.toAccountId = toAccountId;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public Float getAmount() {
		return amount;
	}
	public void setAmount(Float amount) {
		this.amount = amount;
	}
	public Float getHandFee() {
		return handFee;
	}
	public void setHandFee(Float handFee) {
		this.handFee = handFee;
	}
	public String getTransferDate() {
		return transferDate;
	}
	public void setTransferDate(String transferDate) {
		this.transferDate = transferDate;
	}
	public Float getOldAmount() {
		return oldAmount;
	}
	public void setOldAmount(Float oldAmount) {
		this.oldAmount = oldAmount;
	}
	public Float getOldHandFee() {
		return oldHandFee;
	}
	public void setOldHandFee(Float oldHandFee) {
		this.oldHandFee = oldHandFee;
	}
	public String[] getTransferAccountIds() {
		return transferAccountIds;
	}
	public void setTransferAccountIds(String[] transferAccountIds) {
		this.transferAccountIds = transferAccountIds;
	}
	public String getEndDate() {
		return endDate;
	}
	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
	public float getMaxAmount() {
		return maxAmount;
	}
	public void setMaxAmount(float maxAmount) {
		this.maxAmount = maxAmount;
	}
	public float getMinAmount() {
		return minAmount;
	}
	public void setMinAmount(float minAmount) {
		this.minAmount = minAmount;
	}
	public String getStartDate() {
		return startDate;
	}
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}
    
    
}
